package com.modeldiy;

import java.util.ArrayList;
import java.util.List;

/**
 * 组织架构树形节点
 */
public class OrgNode {
    private Long id;
    private Long pid;
    private String name;
//    private List childrens=new ArrayList();;
//    private Object obj;
    public OrgNode(){}
    public OrgNode(Long id,Long pid,String name){
        this.id=id;
        this.pid=pid;
        this.name=name;
    }

    public Long getPid () {
        return pid;
    }

    public void setPid (Long pid) {
        this.pid = pid;
    }

    public Long getId () {
        return id;
    }

    public void setId (Long id) {
        this.id = id;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

}
